package qj.tool.console;

import qj.tool.console.exception.InvalidCommandParameterException;

/**
 * Created by QuanLA
 * Date: Feb 28, 2006
 * Time: 5:12:05 PM
 */
public interface IConsoleCommand {
	IConsoleCommand EXIT = new DefaultCommandExit();
	
    String commandKey();
    String getCommandHelp();
    
    /**
     * 
     * @param parameters
     * @return The String as result of the process
     * @throws InvalidCommandParameterException
     */
    String process(String parameters) throws InvalidCommandParameterException;
}
